from django.contrib import admin
from django.http import HttpResponse

from django.urls import path
from .views import *


app_name = 'main'

urlpatterns = [



    path('', home, name='home'),
    path('create_question/', create_question, name='create_question'),
    path('question/<int:pk>/', question_detail, name='question_detail'),
    path('topics/', topic_list, name='topic_list'),
    path('topics/<int:pk>/', topic_detail, name='topic_detail'),
    path('create_topic/', create_topic, name='create_topic'),

]
